<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户反馈</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">

    </style>
    <script type="text/javascript">
        function getURLString(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null)return decodeURI(r[2]);
            return null;
        }

        function get() {
            var phone = getURLString("phone");
            document.getElementById('title').innerHTML = "你好，用户" + phone;
            document.getElementById('phone').value = phone;
        }
    </script>
</head>
<body onload="get()">


<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <a id="title" class="navbar-brand" href="#"></a>
        </div>
    </div>
</nav>

<div>
    <form class="form-horizontal" role="form" method="post" action="../FeedbackServlet?type=web">

        <input id="phone" name="phone" type="hidden">
        <label for="feedbackinfo">反馈信息:</label>
        <textarea id="feedbackinfo" name="feedbackInformation" class="form-control" rows="3"></textarea>
        <div style="text-align: center;margin: 5px">
            <input class="btn btn-info" style="padding: 10px 30%;" type="submit" value="提交">
        </div>
    </form>
</div>

</body>
</html>